const router = require('koa-router')(),
    adminController = require('../controller/admin'),
    loginCheck = require('../middlewares/logincheck')
router.prefix('/admin');
router.post('/create_admin', adminController.createAdmin);
router.post('/login_action', adminController.loginAction);
router.get('/login_check', adminController.loginCheck);
router.get('/loginout_action', adminController.logoutAction);

module.exports = router
